package com.mallotec.android.timenote.viewmodel;

import android.content.Context;

import com.mallotec.android.timenote.data.repository.RepositoryProvider;
import com.mallotec.android.timenote.viewmodel.factory.TimenoteListModelFactory;

/**
 * @author reborn
 * @program TimeNote
 * @description ViewModel 提供者
 * @create 2020-11-02 04:12
 **/
public class CustomViewModelFactoryProviders {
    public static TimenoteListModelFactory getTimenoteListViewModelFactory(Context context) {
        return new TimenoteListModelFactory(RepositoryProvider.getTimenoteRepository(context));
    }
}
